var express = require("express");
var app = express();

// 动态资源路由
app.use("/login", require("./routes/login"));
app.use("/register", require("./routes/register"));

// 静态资源路由
app.use(express.static(__dirname + "/public"));

app.listen(80, function () {
	console.log("Server started.");
});